Here's what I figured-out 'bout my app running fine in the debugger and crashing w/ an unimplemented trap error (appearently) from the finder. I installed MacBugs, and tried again. When it dropped into the debugger, the cause was a user break; I left the oopsDebug library in the application. Any way, after poking around, I found that "new_by_name" was being called by CDLOGDirector::AddOverloadedItem, for an unknown class.
So, what it appears is that the Linker, when building an application, strips out "stuff" even when smart linking is off. Now I just have to find the "stuff" that's been stripped out, and force a reference (or something, time to RTM) to the "stuff" so it isn't stripped.
Thanks for the help. I'll post what I find.
Ray DeGennaro
degennar@bmsrs.usc.edu
Path: ucivax!gateway
From: gris@surf.sics.bu.oz.au (David the Gris)
Subject: Unsubscribe
Message-ID: <9203120151.14860@munnari.oz.au>
Newsgroups: fa.think-c
Lines: 3
Date: 12 Mar 92 01:52:01 GMT
Please remove me from the list. Thanx.
gris
gris@surf.sics.bu.oz.au
Path: ucivax!gateway
From: cfejm@ux1.cts.eiu.edu (John Miller)
Subject: Re: Sound Manager Question
Message-ID: <9203121522.AA15694@ux1.cts.eiu.edu>
In-Reply-To: <9203121517.AA23313@ux1.cts.eiu.edu>; from "Mail Delivery Subsystem" at Mar 12, 92 9:17 am
X-Mailer: ELM [version 2.3 PL11]
Newsgroups: fa.think-c
Lines: 48
Date: 12 Mar 92 15:23:22 GMT
> Dear netters,
>
> I am having a problem using the Sound Manager. I read a MacRecorder
> file, make a 'snd ' resource out of it, create a sound channel, and
> try to play it async. It refuses to play async under system 6.07
> (no sound at all), though it works fine under system 7. Under 6.05,
> it refuses to play -sync-! It always plays async!!
>
> I have the feeling the problem is probably in the way I am creating
> my 'snd ' resource (I tried both format 1 and 2). Does any have a sample
> source on how this is done?
>
> Any hints would be appreciated.
>
> Hisham.
>
>
> Hisham A. Abboud, Cedrus Corp. [Internet: abboud@cedrus.com]
>
>
The problem is in the documentation for the sound manager. In Inside Mac
VI, after going into great (and useful) detail about the different
structures of both Format 1 and Format 2 sound headers, one expects that
either of these is somehow accessible to the sampled synth.
Only later (page 22-44) do you find the description of the "structure of
the standard sampled sopund header used by the sampled sound
synthesizer..."
What follows is an abbreviated version of the other types. My solution
was to create the sound file (in MacRecorder or anything else), save it as
a resource, and then edit it in ResEdit to conform to the header described
on 22-44. This involves merely removing the first (I don't remember how
many) bytes. Everything else then works fine.
Good luck.
John
_____________________________
John Miller
Music Theory
Eastern Illinois University
Path: ucivax!gateway
From: REXB@vm.cc.purdue.edu (Rex Bontrager)
Subject: Mac X-Ref book
Message-ID: <9203121352.aa02394@q2.ics.uci.edu>
Newsgroups: fa.think-c
Lines: 10
Date: 12 Mar 92 21:52:52 GMT
I visited my local computer bookstore today and noticed that their X-Ref
book from Apple does not yet include Inside Mac Vol VI. Can anyone
tell me if or when IM VI will be included in the X-Ref?